<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户列表</title>
    <link rel="stylesheet" href="../../static/plugins/bootstrap/css/bootstrap.min.css" th:href="@{~/static/plugins/bootstrap/css/bootstrap.min.css}">
    <script src="../../static/plugins/jquery/jquery-3.4.1.min.js" th:src="@{~/static/plugins/jquery/jquery-3.4.1.min.js}"></script>
    <script src="../../static/plugins/bootstrap/js/bootstrap.js" th:src="@{~/static/plugins/bootstrap/js/bootstrap.js}"></script>
</head>
<body>
    <table class="table table-light table-bordered">
        <thead>
        <tr>
            <th>序号</th>
            <th>用户名</th>
            <th>昵称</th>
            <th>创建时间</th>
            <th>最后修改时间</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="user,stat: ${userPage.content}">
            <!--/*@thymesVar id="user" type="com.example.test.domain.User"*/-->
            <td th:text="${stat.index + 1}">1</td>
            <td th:text="${user.username}">bincker</td>
            <td th:text="${user.nickname}">Bincker</td>
            <td th:text="${#dates.format(user.createdDate, 'yyyy-MM-dd')}">2019-05-09 23:59:16</td>
            <td th:text="${#dates.format(user.lastModifiedDate, 'yyyy-MM-dd')}">2019-05-09 23:59:22</td>
        </tr>
        </tbody>
    </table>
</body>
</html>